package com.takeshi.landlords.resp;

/**
 * SysConstant
 *
 * @author Nanase Takeshi
 * @date 2022/2/16 9:38
 */
public interface SysConstant {

    int COUNTDOWN = 60;
    int COUNTDOWN_START_SEND = 3;
    /**
     * 房间最大容纳人数
     */
    int MAX_NUMBER_OF_PEOPLE = 3;
    /**
     * 房间密码数
     */
    int PWD_LENGTH = 4;
    /**
     * 消息的最大文字数
     */
    int MAX_MSG_LENGTH = 50;

    String[] SELECT_SCOPE = {"1", "2"};

    String PASS = "PASS";

    String WELCOME = "Hi {}, Welcome to Nanase Takeshi's online game!<br/>Please select";
    String EXAMPLE = "example：<br/>&nbsp;&nbsp;[sm]：王炸<br/>&nbsp;&nbsp;[0000]：4个10<br/>&nbsp;&nbsp;[3334]：3带1<br/>&nbsp;&nbsp;[99900034]：9,10飞机";
    String ROOM_COMMAND_TIPS = "<br/>tips：<br/>&nbsp;&nbsp;0 represents 10<br/>&nbsp;&nbsp;s represents 大王<br/>&nbsp;&nbsp;m represents 小王<br/>&nbsp;&nbsp;[s]：Start game<br/>&nbsp;&nbsp;[p]：Pass<br/>&nbsp;&nbsp;[v]：查看出牌历史记录<br/>&nbsp;&nbsp;[e]：Exit room<br/>&nbsp;&nbsp;[f]：View example and room members";
    String SELECT_TEXT = "1.Create Room<br/>2.Join Room";
    String NBSP = "&nbsp;&nbsp;&nbsp;&nbsp;";
    String TABLE_HEADER = "&nbsp;&nbsp;ID" + NBSP + "State&nbsp;&nbsp;" + NBSP + "Players";
    String WAITING = "Waiting";
    String RUNNING = "Running";
    String TO_BECOME_LANDLORD = "Are you want to become landlord? (y or n)";
    String TIMEOUT_TEXT = "Timeout: ({}s) {} ";

}
